<template>
  <div class="count">
    <h2 v-bgColor="'yellow'">组件count:{{count |add$}}</h2>
  </div>
</template>

<script>
export default {
  name:"Count",
  data(){
    return{
      count:0
    }
  }
}
</script>

<style scoped>
.count{
  background-color: pink;
}
</style>